package com.way.controller;

import com.way.domain.dto.LoginDto;
import com.way.domain.vo.LoginVo;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "认证服务")
@RequestMapping("/auth")
@RestController
public class AuthController {

    @Operation(summary = "密码登录")
    @PostMapping("/login")
    public LoginVo login(@RequestBody LoginDto loginDto) {
        return new LoginVo();
    }

}
